﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="NS_QuangCaoTiepThi.Index" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>NS. QUANG CAO</title>
    <link href="Styles/MySite.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/jquery-marquee.js" type="text/javascript"></script>
    <script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script src="Scripts/flowplayer-3.2.4.min.js" type="text/javascript"></script>
    <script src="Scripts/jwplayer.js" type="text/javascript"></script>

    <!--Tat scrollbar cuar Web Browser-->
    <style type="text/css">
        html {
            overflow:hidden;
        }
    </style>
    <!--Tat scrollbar cuar Web Browser-->

</head>
<body>
    <form id="form1" runat="server">
    <div id="container">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <div id="header2">
            <table width="100%">
                <tr>
                    <td style="width:16%">
                        <asp:Image ID="imgLogo" runat="server" ImageUrl="~/HinhAnh/BIDV.jpg" Height="80" Width="80" />
                        <br />
                        <asp:LinkButton ID="btnDangNhap" runat="server" Text="Chi nhánh Cà Mau" 
                            ForeColor="Blue" onclick="btnDangNhap_Click"></asp:LinkButton>
                    </td>

                    <td style="width:66%">
                        <marquee behavior="scroll" direction="left" scrollamount="6" loop="-1" height="120" width="780">
                            <asp:DataList ID="dlstTinTucTrongNgay" runat="server" 
                                RepeatDirection="Horizontal" 
                                AlternatingItemStyle-HorizontalAlign="NotSet" 
                                ForeColor="Red"
                                Width="780px"
                                Height="120px">
                                <ItemTemplate>
                                    <div>
                                        <asp:Label ID="lblNoiDungTinTuc" runat="server"  Text='<%# Eval("NoiDungTinTucNoiBat") %>' Font-Size="X-Large"></asp:Label>
                                        <span style="margin-right:780px"></span>
                                    </div>
                                </ItemTemplate>
                            </asp:DataList></marquee>
                    </td>

                    <td style="width:18%">
                        <asp:Image ID="imgQuangCaoNgang" runat="server" Height="120" Width="240"/>
                            <asp:SlideShowExtender ID="SlideShowExtender1" runat="server" Enabled="True" 
                                SlideShowServiceMethod="GetSlideKhachHang" 
                                SlideShowServicePath="SlideService1.asmx" 
                                TargetControlID="imgQuangCaoNgang" 
                                AutoPlay="true" 
                                Loop="true"/>
                    </td>
                </tr>
            </table>
        </div>

        <div id="mainContent2">
            <table width="100%">
                <tr>
                    <td style="width:68%" valign="top">
                        <div id="leftContent2" runat="server">
                            id="script_container" runat="server">
                        </div>
                    </td>

                    <td style="width:32%" valign="top">
                        <div id="rightContent2">
                            <asp:Image ID="imgQuangCaoDung" runat="server" Height="200" Width="400"/>
                            <asp:SlideShowExtender ID="SlideShowExtender2" runat="server" Enabled="True" 
                                SlideShowServiceMethod="GetSlideNoiBo" 
                                SlideShowServicePath="SlideService.asmx" 
                                TargetControlID="imgQuangCaoDung" 
                                AutoPlay="true" 
                                Loop="true"/>
                            <br />
                            <asp:Label ID="lblTitleThongBao" runat="server" Text="THÔNG BÁO" ForeColor="Green" Font-Bold="true" Font-Underline="true" Font-Size="X-Large"></asp:Label>
                            <br />
                            <marquee behavior="scroll" direction="up" scrollamount="3" loop="-1" height="200" width="400">
                                <asp:GridView ID="gvTinTucChung" runat="server" 
                                    AutoGenerateColumns="False" 
                                    GridLines="None" 
                                    PageSize="10" 
                                    Height="300"
                                    Width="400"
                                    ForeColor="Blue">
                                    <Columns>
                                        <asp:TemplateField>
                                            <ItemTemplate>
                                                <div>
                                                    <asp:Label ID="lblNoiDungTinTuc" runat="server" Text='<%# Eval("NoiDungTinTucChung") %>' Font-Size="X-Large"></asp:Label>
                                                </div>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                    </Columns>
                            </asp:GridView></marquee>
                        </div>
                    </td>
                </tr>
            </table>
        </div>

        <div id="bottom2">
            <marquee behavior="left" direction="left" scrollamount="6" loop="-1" height="10" width="1260px">
                <asp:Label ID="lblBottom" runat="server" ForeColor="Red">Bản quyền thuộc về Ngân hàng Đầu tư và Phát triển Việt Nam - Chi nhánh Cà Mau - 
                    Thiết kế và lập trình: Nguyễn Lâm Sơn - 
                    Điện thoại di động: 0909336693</asp:Label></marquee>
        </div>
    </div>
    </form>
</body>
</html>
